import { Post } from "@/library/utils/request"
import * as types from "@/views/order_manager/order_dishes_list/types"
import { ResponseWithCount } from "@/library/common/types"

export const OrderDishesListApiUrl = {
    Select: "/OrderDishes/Select",
}

export const OrderDishesListApi = {
    /**
     * 查询
     */
    Select(params: types.SelectParamsType) {
        return Post<ResponseWithCount<types.DataType[]>>(OrderDishesListApiUrl.Select, params)
    },
}